package com.vimhe.easyimport.config.bean;

/**
 * 单元格配置对象
 *
 * @author Vimhe
 */
public final class CellConfig {

    private String index;

    private String column;

    private String code;

    private String type;

    private Boolean nullable;

    private Integer min;

    private Integer max;

    private Integer length;

    private Integer minLength;

    private Integer maxLength;

    private String regex;

    private RowConfig rowConfig;

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public String getColumn() {
        return column;
    }

    public void setColumn(String col) {
        this.column = col;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Boolean getNullable() {
        return nullable;
    }

    public void setNullable(Boolean nullable) {
        this.nullable = nullable;
    }

    public Integer getMin() {
        return min;
    }

    public void setMin(Integer min) {
        this.min = min;
    }

    public Integer getMax() {
        return max;
    }

    public void setMax(Integer max) {
        this.max = max;
    }

    public Integer getLength() {
        return length;
    }

    public void setLength(Integer length) {
        this.length = length;
    }

    public Integer getMinLength() {
        return minLength;
    }

    public void setMinLength(Integer minLength) {
        this.minLength = minLength;
    }

    public Integer getMaxLength() {
        return maxLength;
    }

    public void setMaxLength(Integer maxLength) {
        this.maxLength = maxLength;
    }

    public String getRegex() {
        return regex;
    }

    public void setRegex(String regex) {
        this.regex = regex;
    }

    public RowConfig getRowConfig() {
        return rowConfig;
    }

    public void setRowConfig(RowConfig rowConfig) {
        this.rowConfig = rowConfig;
    }

}
